package com.seu.me.test.end;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;

/**
 * 报案人信息
 *
 * @author liangfeihu
 * @since 2019/10/30 14:41
 */
@Data
@ToString
@NoArgsConstructor
@XmlAccessorType(XmlAccessType.FIELD)
public class ReportInfo {
    private String ReportAddress = "";
    private String BankAccount = "";
    private String BankProvince = "";
    private String BankCity = "";
    private String BankType = "";
    private String BankName = "";
    private String BankStreet = "";
    private String BIRTHDAY;
    private String EmailAccept = "";
    private String Gender;
    private String IDNo;
    private String IDType;
    private String IDValDate;
    private String IDEndDate;
    private String JOB;
    private String Phone;
    private String ReportName;
    private String ReportOrganization = "";
    private String PayType;
    private String Relation;
    private String ReportType = "";
    private String Zip = "";

    public ReportInfo(String reportAddress, String BIRTHDAY, String gender, String IDNo, String IDType, String IDValDate, String IDEndDate,
                      String phone, String reportName, String payType, String relation) {
        this.ReportAddress = reportAddress == null ? "" : reportAddress;
        this.BIRTHDAY = BIRTHDAY;
        this.Gender = gender;
        this.IDNo = IDNo;
        this.IDType = IDType;

        this.IDValDate = IDValDate == null ? "" : IDValDate;
        this.IDEndDate = IDEndDate == null ? "" : IDEndDate;
        this.Phone = phone == null ? "" : phone;

        this.ReportName = reportName;
        this.PayType = payType;
        this.Relation = relation;
    }

}
